<template>
  <div>
    <h1>Detail</h1>

    <h1>:id={{$route.params.id}}</h1>
    <h1>params.title={{$route.params.title}}</h1>

    <button @click="$router.push('/list')">Back to List</button>
  </div>
</template>

<script>
export default {
  mounted() {
    console.log('Detail', this.$route)
  }
}
</script>

<style>

</style>